// import { useRequest } from 'umi';
import { OtherCostService } from '@/services/otherCost';
import { BaseModel } from '@/services/baseService';
export default function OtherCostModel(params: { pageSize: number; current: number }) {
  // let service: BaseService<OtherCost> = OtherCostService;
  // type Foo<T> = T extends { a: infer U } ? U : never;
  // type T10 = Foo<{ a: string }>; // T10类型为 string
  // type T11 = Foo<{ a: OtherCost }>;
  // type ParamType<T> = T extends (...args: infer P) => any ? P : T;
  // type ignoreType=(o:OtherCost)=>void;
  return BaseModel(params, OtherCostService);
}